<?php

class Log_Abstract
{
    protected $config = array();

    public function getConfig($name, $default = null)
    {
        return isset($this -> config[$name]) ? $this -> config[$name] : $default;
    }

    public function __construct($config)
    {
        $this -> config = $config;
    }

}
